﻿namespace coremvcdemo.Model.DTO
{
    /// <summary>
    /// 新增菜单
    /// </summary>
    public class RoleMenu
    {
        public List<int> MenuList { get; set; } = new List<int>();
        public List<CoreDemo_B_角色列表> roleList { get; set; } = new List<CoreDemo_B_角色列表>();
        public string? Id { get; set; }
    }
    /// <summary>
    /// 权限查询参数
    /// </summary>
    public class PowerAddPara
    {
        public string? deptName { get; set; }
        public string? serName { get; set; }
        public string? roleName { get; set; }
    }
    /// <summary>
    /// 权限添加模组
    /// </summary>
    public class PowerAddModel
    {
        public List<string> CardList { get; set; } = new List<string>();
        public string RoleId { get; set; }
        public string RoleName { get; set; }
    }
    /// <summary>
    /// 权限管理参数
    /// </summary>
    public class PowerManegePara
    {
        public string? Card { get; set; }
        public string? Name { get; set; }
    }
    public class PersionMenu
    {
        public int? FatherId { get; set; }
        public int? MenuId { get; set; }
        public string MenuName { get; set; }
        public string Href { get; set; }
        public List<PersionMenu> children { get; set; } = new List<PersionMenu>();
    }
}
